package match.chuanchao.dto;

import java.util.List;

public class GuanSaiRenInfoResp {
    private String code;
    private Data data;
    private String detailMsg; // 原null值，用String类型
    private String errorName; // 原null值，用String类型
    private boolean fail;
    private String innerCode;
    private String msg; // 原null值，用String类型
    private String msgKey; // 原null值，用String类型
    private boolean success;

    // Getter和Setter
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public String getDetailMsg() {
        return detailMsg;
    }

    public void setDetailMsg(String detailMsg) {
        this.detailMsg = detailMsg;
    }

    public String getErrorName() {
        return errorName;
    }

    public void setErrorName(String errorName) {
        this.errorName = errorName;
    }

    public boolean isFail() {
        return fail;
    }

    public void setFail(boolean fail) {
        this.fail = fail;
    }

    public String getInnerCode() {
        return innerCode;
    }

    public void setInnerCode(String innerCode) {
        this.innerCode = innerCode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getMsgKey() {
        return msgKey;
    }

    public void setMsgKey(String msgKey) {
        this.msgKey = msgKey;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    // 内部类：Data
    public static class Data {
        private List<DataList> dataList;
        private int endRow;
        private boolean nextPage;
        private int page;
        private int pageSize;
        private int startRow;
        private int totalPage;
        private int totalRow;

        // Getter和Setter
        public List<DataList> getDataList() {
            return dataList;
        }

        public void setDataList(List<DataList> dataList) {
            this.dataList = dataList;
        }

        public int getEndRow() {
            return endRow;
        }

        public void setEndRow(int endRow) {
            this.endRow = endRow;
        }

        public boolean isNextPage() {
            return nextPage;
        }

        public void setNextPage(boolean nextPage) {
            this.nextPage = nextPage;
        }

        public int getPage() {
            return page;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getStartRow() {
            return startRow;
        }

        public void setStartRow(int startRow) {
            this.startRow = startRow;
        }

        public int getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(int totalPage) {
            this.totalPage = totalPage;
        }

        public int getTotalRow() {
            return totalRow;
        }

        public void setTotalRow(int totalRow) {
            this.totalRow = totalRow;
        }
    }

    // 内部类：DataList
    public static class DataList {
        private String bearerId;
        private String bearerName;
        private boolean blackListUser;
        private String identification;
        private boolean identificationEnable;
        private String identificationType;
        private String identificationTypeName;
        private int sortIndex;
        private String tenantId; // 原null值，用String类型
        private int unavailable;

        // Getter和Setter
        public String getBearerId() {
            return bearerId;
        }

        public void setBearerId(String bearerId) {
            this.bearerId = bearerId;
        }

        public String getBearerName() {
            return bearerName;
        }

        public void setBearerName(String bearerName) {
            this.bearerName = bearerName;
        }

        public boolean isBlackListUser() {
            return blackListUser;
        }

        public void setBlackListUser(boolean blackListUser) {
            this.blackListUser = blackListUser;
        }

        public String getIdentification() {
            return identification;
        }

        public void setIdentification(String identification) {
            this.identification = identification;
        }

        public boolean isIdentificationEnable() {
            return identificationEnable;
        }

        public void setIdentificationEnable(boolean identificationEnable) {
            this.identificationEnable = identificationEnable;
        }

        public String getIdentificationType() {
            return identificationType;
        }

        public void setIdentificationType(String identificationType) {
            this.identificationType = identificationType;
        }

        public String getIdentificationTypeName() {
            return identificationTypeName;
        }

        public void setIdentificationTypeName(String identificationTypeName) {
            this.identificationTypeName = identificationTypeName;
        }

        public int getSortIndex() {
            return sortIndex;
        }

        public void setSortIndex(int sortIndex) {
            this.sortIndex = sortIndex;
        }

        public String getTenantId() {
            return tenantId;
        }

        public void setTenantId(String tenantId) {
            this.tenantId = tenantId;
        }

        public int getUnavailable() {
            return unavailable;
        }

        public void setUnavailable(int unavailable) {
            this.unavailable = unavailable;
        }
    }
}